package com.magic.potato.feign.annotation;

import com.magic.potato.feign.config.FeignBeanFactory;
import com.magic.potato.feign.config.FeignScanRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author ycl
 * 扫描feign接口
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({FeignScanRegistrar.class, FeignBeanFactory.class})
public @interface FeignScan {
    String[] value();
}
